package com.ccc.boot.system.service;

import com.ccc.boot.base.IBaseService;
import com.ccc.boot.response.ResponseResult;
import com.ccc.boot.system.entity.SysRole;
import com.ccc.boot.system.pojo.AuthorizeApiParam;
import com.ccc.boot.system.pojo.AuthorizeMenuParam;

import java.util.List;

/**
* 接口资源表 业务处理接口
*
* @author superC
* @date 2022-03-30
* @version 0.1.0
*/
public interface SysRoleService extends IBaseService<SysRole> {

    boolean authorizeMenu(AuthorizeMenuParam param);

    boolean authorizeApi(AuthorizeApiParam param);

    List<String> getRoleCodes(Long userId);

}
